package com.im.dao;


import com.im.pojo.Dept;
import com.im.pojo.Job;
import com.im.pojo.Staff;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StaffDao {
    public int save(Staff staff);
    public int deleteById(Staff staff );
    public int updateById(Staff staff );
    public Staff queryById(Staff staff);
    public List<Staff> queryAll(Staff staff);
    public List<Job> queryAllJob();
    public List<Dept> queryAllDept();
}
